package dbms.absyn;

import dbms.symbol.Symbol;

public class AlterClause {
	public int pos;
	public Symbol table;
	public Attribute attr;
	public String str;
	public DataType data_type;
	public ConstraintClause constraint_stmt;
	
	public AlterClause (int p, Symbol symbol, ConstraintClause cs) {
		pos = p;
		table = symbol;
		constraint_stmt = cs;
	}
	
	public AlterClause (int p, Symbol s, Attribute t) {
		pos = p;
		table = s;
		attr = t;
	}
	
	public AlterClause (int p, Symbol symbol, Attribute symbol2, DataType dt, String ss) {
		pos = p;
		table = symbol;
		attr = symbol2;
		data_type = dt;
		str = ss;
	}
}